package org.tgcloud.group.repository;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.tgcloud.group.entity.SysDate;

import java.util.Date;
import java.util.List;

/**
* @Author: zhy
* @Created: 2024-07-08-上午11:01
* @Description: ${description}
*/
@Mapper
public interface SysDateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysDate record);

    int insertSelective(SysDate record);

    SysDate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysDate record);

    int updateByPrimaryKey(SysDate record);

    SysDate selectLastTime();

    SysDate selectMsgByDate(@Param("format") String format);

    List<SysDate> selectAllDayByYear(@Param("year") Integer year);

    SysDate selectOneDayByDate(@Param("day") Date day);

    List<SysDate> selectAllDateList();


}